﻿using System;


namespace StagingAreaETL
{
    class Program
    {
        static void Main(string[] args)
        {
            DateTime start = DateTime.Now;
            StagingArea2OperationalDataStore sa2ods = new StagingArea2OperationalDataStore();
            sa2ods.Initialize();
            sa2ods.Extract();
            sa2ods.Load();

            TimeSpan duration = DateTime.Now.Subtract(start);
            Console.WriteLine("\n\nAll ETL tasks completed in {0:00}:{1:00}\n\nENTER for quit...", duration.Minutes, duration.Seconds);
            Console.ReadLine();
        }
    }
}
